#ifndef HDOMECONTROLPANELINSTANCE_H
#define HDOMECONTROLPANELINSTANCE_H
#include <QtWidgets>
#include "../../../PublicHeard/AVClientSDK/HDomeControlPanelInterface.h"
class HDomeControlPanel;

class HDomeControlPanelInstance : public HDomeControlPanelInterface
{
    Q_OBJECT

    Q_INTERFACES(HDomeControlPanelInterface)
#if QT_VERSION >= 0x050000
    Q_PLUGIN_METADATA(IID "com.hht.HDomeControlPanelInterface.HDomeControlPanelInterface/1.0")
#endif

public:
    HDomeControlPanelInstance(QObject *parent = 0);
    ~HDomeControlPanelInstance();

    QWidget                         *createWidget();
	void                            iniWidget();
    void                            setAppPath(QString strAppPath);
    void                            updateTreeUI(QList<HTTreeItemInfo*>  lstItemInfos);
	void                            appendTreeItem(HTTreeItemInfo* itemInfo);
	void                            setTaskID(int nTaskID);
	void                            setPanelResolution(int nVideoID,QString strResolution);
    void                            setDeviceWarning(int nVideoID);

private:
    HDomeControlPanel               *m_pwndDomeControlPanel;
};

#endif
